<?php
// +----------------------------------------------------------------------
// | OneThink [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.onethink.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: 麦当苗儿 <zuojiazi@vip.qq.com> <http://www.zjzit.cn>
// +----------------------------------------------------------------------

namespace App\Http\Controllers\Admin;

use App\Models\Admin;
use App\Models\Menu;

/**
 * 后台首页控制器
 */
class IndexController extends BaseController
{

    public function __construct(Admin $admin, Menu $menu)
    {
        parent::__construct();
        $this->admin = $admin;
        $this->menu = $menu;
    }

    public function getIndex()
    {
        return view('admin.main');
    }

    public function getTest()
    {
        return 1;
    }

}
